package cn.niit.service;

import cn.niit.entity.Attendance;
import cn.niit.entity.Student;
import cn.niit.entity.query.AttendanceQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 考勤表(Attendance)表服务接口
 *
 * @author makejava
 * @since 2021-11-14 16:05:58
 */
public interface AttendanceService {
    PageInfo<Attendance> queryAll(AttendanceQuery attendanceQuery);

    PageInfo<Attendance> queryByClassCode(AttendanceQuery attendanceQuery);

    PageInfo<Attendance> select(AttendanceQuery attendanceQuery);

    Attendance queryAttendanceById(Integer id);

    boolean addAttendance(Attendance attendance);

    boolean editAttendance(Attendance attendance);

    boolean deleteAttendanceById(Integer id);

}